<?php

// 配置数据库
require("include/db.php");
 
// 连接数据库
require("include/conn.php");

// 配置系统
require("include/config.php");

// 获取参数
    $id1=$_SERVER["QUERY_STRING"];
	$id2=substr($id1, 3);

// 验证参数
if (TestMod=="1")
	echo $id1;
	echo "<br />";
	echo $id2;

//删除操作
$sql="DELETE FROM hnw_Main WHERE w100=$id2";
$result=mysql_query($sql);
if(mysql_affected_rows()){
 echo '删除成功！';
 }
else
{	echo '删除失败！';
}

//关闭连接
mysql_close($connect);

?>

<!doctype html>
<html>
<head>
<meta charset="gbk">
<title>删除处理 - <?php  echo sysname; ?> <?php echo version; ?> - Powered by Y.Z.W</title>

</head>
</head>

<body>

</body>
</html>